

// 主页title导航
export interface HomeTitle {
    image: string,
    title: string
}

// 主页商品列表
export interface LefttopTagList {
    img: string
}

export interface ListItem {
    videoUrl: string,
    bottomIcon: string
    itemId: number,
    // 顶部图片
    lefttop_taglist: Array<LefttopTagList>,
    // 作者名
    actorName: string,
    showDiscountPrice: string,
    // 销量
    sale: string,
    // 标题
    title: string,
    // 封面图片
    itemImage: string,
    // 作者图片
    actorAvatar: string,
    // 作者标签
    actorTag?: string,
    // 主播id
    actorId: string,
    // 评论接口的主播id
    actorIdUrl: string,
    // 评论接口的商品id
    itemIdUrl: string
}

export interface VideoList {
    list: Array<ListItem>
}

export interface HomeVideo {
    data: VideoList,

}

// 播放页面的图片

export interface AvatarsPic {
    avatars: Array<string>
}

export interface PicData {
    likePics: Array<string>
    hotLink: AvatarsPic
}
export interface VideoViewPic {
    data: PicData
}

// 视频的评论

export interface CommentList {
    avatar: string,
    content: string,
    time: string,
    userName: string,
    commentId: number,
    id?: number | string
}
export interface Comment {
    commentList: Array<CommentList>,
    total: number

}

export interface CommentData {
    data: Comment,
}


// 热门搜索词条

export interface HotList {
    frontword: string
    color: string
}

export interface HotWordData {
    data: Array<HotList>
}
export interface HotWord {
    hotWord: HotWordData
}
export interface HotSearchData {
    data: HotWord
}

// 默认搜索关键字

export interface SortFilter {
    sortKey: string
    title: string
}

export interface PriceFilter {
    max: string
    min: string
    percent: string
}
export interface DocsList {
    img: string,
    tradeItemId: string,
    title: string,
    price: number,
    cfav: number
}
export interface SearchKeyWordData {
    result: {
        sortFilter: Array<SortFilter>,
        priceFilter: Array<PriceFilter>,
        wall: {
            total: number,
            docs: Array<DocsList>
        }
    }
}

// 猜你喜欢
export interface GuessLikeData {
    wall: {
        total: number,
        docs: Array<DocsList>
    }
}


// 商品优惠价
export interface Popovers {
    data: {
        limitDesc: string,
        expiryInfo: string,
        highlightCouponDesc?: {
            content: string,
            highlightTexts: Array<string>
        },
        effect: string | number,
        promotionId: string
    }
}
export interface Outers {
    text: string,
    textColor: string
}
export interface ProductCoupon {
    data: {
        flushKey: {
            data: {
                popovers: Array<Popovers>,
                outers: Array<Outers>
            }
        }
    }
}

// 购物车数据 
export interface ShoppingCartData {
    itemId: string,
    stockId: string,
    title: string,
    styleKey: string,
    sizeKey: string,
    num: number,
    curretnSize: string,
    currentColor: string,
    nowprice: number,
    text?: string,
    img: string,
    selectedStatus?: boolean,
    id?: number,
    type?: number,
    expiredNotType?: number,
    typeText?: string
}

// 地址
export interface Address {
    fieldValue: string,
    addressee: string,
    telVal: string,
    detailedAddress: string,
    default: boolean,
    id: number
}


// 商城导航
export interface ShoppingMallNav {
    title: string,
    backgroundImage: string,
    _system_record_entry_id: string,
    countdown?: number
}

// 商城的猜你喜欢
export interface GuessLike {

}

// 直播tab
export interface Items {
    active:boolean,
    platform:number,
    id:number,
    name:string
}
export interface LiveTab {
    data: {
        tabs: {
            items: Array<Items>
        }
    }
}

// 直播列表
export interface Goods {
    title: string
    itemId: string
    cover: string
    price: string
}
export interface Comments {
    uid: string,
    commentId: string,
    type: number
    content: string,
    avatar: string,
}
export interface LivesList {
    // 标题
    intro: string,
    living: boolean,
    userName: string,
    // 头像
    avatar: string,
    // 封面大图
    bgImg: string,
    // 评论
    comments: Array<Comments>,
    shopCarts: {
        // 商品
        goods: Array<Goods>
    },


}
export interface LivingList {
    lives: Array<LivesList>
}